package com.sjqi.demo.handler;

import java.sql.Connection;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.List;

public interface StatementHandler {
    Statement prepare(MappedStatement mapStatement, String sql, Connection connection) throws SQLException;
    void parameterize(Object param, Statement statement, BoundSql boundSql);
    List<Object> query(Statement statement, MappedStatement mapStatement) throws SQLException;
}
